adTempus API
PreviousUpNext
IJobAgents::Item Method

Retrieves the specified item

C++
HRESULT Item(VARIANT index, [out, retval] IJobAgentJoin ** pVal);
C#
Item(VARIANT index, [out, retval] IJobAgentJoin * pVal);
Visual Basic
Sub Item(index As VARIANT, pVal As [out, retval] IJobAgentJoin *)
Parameters 
Description 
[in] VARIANT index 
The ordinal or OID of the item to retrieve. The collection is 0-based: valid ordinals range from 0 to Count-1. 
[out, retval] IJobAgentJoin ** pVal 
The requested item, or NULL if the method fails 

If the ordinal is invalid or no object with the specified OID is found the method fails with error ADT_E_NOT_FOUND.

adTempus API Reference version 3.0.0.0, revised 10/30/2008